// 快递平台管理模块

import request from '@/utils/request'

// 快递平台列表
export function postDeliveryList(data) {
  return request({
    url: '/delivery/list',
    method: 'post',
    data: data,
  })
}

// 快递平台详情
export function postDeliveryInfo(data) {
  return request({
    url: '/delivery/info',
    method: 'post',
    data: data,
  })
}

// 添加快递平台
export function postDeliveryAdd(data) {
  return request({
    url: '/delivery/add',
    method: 'post',
    data: data,
  })
}

// 编辑快递平台信息
export function postDeliveryEdit(data) {
  return request({
    url: '/delivery/edit',
    method: 'post',
    data: data,
  })
}

// 删除快递平台
export function postDeliveryRemove(data) {
  return request({
    url: '/delivery/remove',
    method: 'post',
    data: data,
  })
}
